package com.oauth.facebook.client.rpc;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.oauth.facebook.client.beans.FacebookModel;
import com.oauth.facebook.client.beans.FacebookUser;

public interface FacebookRemoteServiceAsync {

	public static final FacebookRemoteServiceAsync INSTANCE = GWT
			.create(FacebookRemoteService.class);

	void getConnections(AsyncCallback<List<FacebookUser>> callback);

	void getUpdates(AsyncCallback<List<FacebookUser>> callback);

	void updateStatus(String pText, AsyncCallback<Boolean> callback);

	void getHomeData(AsyncCallback<FacebookModel> callback);
}
